`timescale 1ns / 1ps
//////////////////////////////////////////////////////////////////////////////////
// Company: 
// Engineer: 
// 
// Create Date:    13:15:53 04/29/2011 
// Design Name: 
// Module Name:    VGAcontrol 
// Project Name: 
// Target Devices: 
// Tool versions: 
// Description: 
//
// Dependencies: 
//
// Revision: 
// Revision 0.01 - File Created
// Additional Comments: 
//
//////////////////////////////////////////////////////////////////////////////////
 module bulletdisplay_final (enable1, enable2, enable3, enable4, enable5, enable6, enable7, enable8, enable9, enable10, enable11, enable12, enable13, enable14,enable15, vgadisp1, vgadisp2, vgadisp3, vgadisp4, vgadisp5, vgadisp6, vgadisp7, vgadisp8, vgadisp9, vgadisp10, vgadisp11, vgadisp12, vgadisp13, vgadisp14, vgadisp15, hcounter, vcounter,blank,X1,Y1,X2,Y2,X3,Y3, X4,Y4, X5,Y5,X6,Y6,X7,Y7 , X8,Y8, X9,Y9,X10,Y10,X11,Y11, X12, Y12);

	
	input enable1, enable2, enable3, enable4, enable5, enable6, enable7, enable8, enable9, enable10, enable11, enable12, enable13, enable14, enable15;
	input [10:0] X1,Y1,X2,Y2,X3,Y3,X4,Y4,X5,Y5, X6,Y6, X7,Y7, X8, Y8, X9, Y9, X10, Y10, X11, Y11, X12, Y12;
	output reg vgadisp1, vgadisp2, vgadisp3, vgadisp4, vgadisp5, vgadisp6, vgadisp7, vgadisp8, vgadisp9, vgadisp10, vgadisp11, vgadisp12, vgadisp13, vgadisp14, vgadisp15;
	input blank;
	input signed [10:0] hcounter, vcounter;
	
	always@(enable1)	begin// stationary
	vgadisp1= ~blank &&
	(vcounter>= Y1 && vcounter<Y1+5 && hcounter>=X1 && hcounter<X1+10) || (vcounter>= Y1+10 && vcounter< Y1+15 && hcounter>=X1 && hcounter< X1+10) || (vcounter>= Y1+5 && vcounter< Y1+10 
	&& hcounter>=X1+5 && hcounter<X1+10)||(vcounter>= Y1+5 && vcounter<Y1+10 && hcounter>=X1+10 && hcounter<X1+20);
	end
	
	always@(enable5) begin
	vgadisp5= ~blank &&
	(vcounter>= Y5 && vcounter<Y5+15 && hcounter>=X5+5 && hcounter< X5+10) || (vcounter>= Y5+10 && vcounter<Y5+15 && hcounter>=X5 && hcounter< X5+15) || (vcounter>= Y5+15 && vcounter< Y5+20 
	&& hcounter>=X5 && hcounter<X5+5)||(vcounter>= Y5+15 && vcounter<Y5+20 && hcounter>=X5+10 && hcounter< X5+15);
	end
	
	always@(enable2)	begin //left 2-1
	vgadisp2= ~blank &&
	(vcounter>= Y2+5 && vcounter<Y2+10 && hcounter>=X2 && hcounter< X2+15) || (vcounter>= Y2 && vcounter<Y2+15 && hcounter>=X2+10 && hcounter< X2+15) || (vcounter>= Y2 && vcounter< Y2+5 
	&& hcounter>=X2+15 && hcounter<X2+20)||(vcounter>= Y2+10 && vcounter<Y2+15 && hcounter>=X2+15 && hcounter<X2+20);
	end
	
	always@(enable3)	begin
	vgadisp3= ~blank &&
	(vcounter>= Y3 && vcounter<Y3+5 && hcounter>=X3 && hcounter<X3+5) || (vcounter>= Y3+5 && vcounter< Y3+10 && hcounter>=X3 && hcounter< X3+15) || (vcounter>= Y3 && vcounter< Y3+5 
	&& hcounter>=X3+10 && hcounter<X3+15)||(vcounter>= Y3+10 && vcounter<Y3+20 && hcounter>=X3+5 && hcounter<X3+10);
	end
	
	
	always@(enable4)	begin // right 4-3
	
	vgadisp4= ~blank &&
	(vcounter>= Y4+5 && vcounter<Y4+10 && hcounter>=X4 && hcounter< X4+15) || (vcounter>= Y4 && vcounter<Y4+15 && hcounter>=X4+10 && hcounter< X4+15) || (vcounter>= Y4 && vcounter< Y4+5 
	&& hcounter>=X4+15 && hcounter<X4+20)||(vcounter>= Y4+10 && vcounter<Y4+15 && hcounter>=X4+15 && hcounter<X4+20);
	
	end
	
	
	
	always@(enable6)	begin
	vgadisp6= ~blank &&
    (vcounter>= Y6 && vcounter<Y6+4 && hcounter>=X6 && hcounter< X6+4) || (vcounter>= Y6+4 && vcounter< Y6+8 && hcounter>=X6+4 && hcounter< X6+8) || (vcounter>= Y6+8 && vcounter< Y6+20
    && hcounter>=X6+8 && hcounter<X6+20)||(vcounter>= Y6+12 && vcounter< Y6+16 && hcounter>=X6 && hcounter<X6+8) ||(vcounter>= Y6+12 && vcounter<Y6+16 && hcounter>=X6+20 && hcounter<X6+28) ||(vcounter>= Y6 && vcounter<Y6+8 && hcounter>=X6+12 && hcounter<X6+16) || (vcounter>= Y6+20 && vcounter<Y6+28 && hcounter>=X6+12 && hcounter<X6+16) || (vcounter>= Y6+20 && vcounter<Y6+24 && hcounter>=X6+4 && hcounter<X6+8) || (vcounter>= Y6 && vcounter<Y6+4 && hcounter>=X6+12 && hcounter<X6+28) || (vcounter>= Y6+4 && vcounter<Y6+8 && hcounter>=X6+20 && hcounter<X6+24) || (vcounter>= Y6+20 && vcounter<Y6+24 && hcounter>=X6+20 && hcounter<X6+24) || (vcounter>= Y6+24 && vcounter<Y6+28 && hcounter>=X6+12 && hcounter<X6+28) || (vcounter>= Y6+12 && vcounter<Y6+28 && hcounter>=X6 && hcounter<X6+4);
	end
	
	
	always@(enable7)	begin
	vgadisp7= ~blank &&
    (vcounter>= Y7 && vcounter<Y7+4 && hcounter>=X7 && hcounter< X7+4) || (vcounter>= Y7+4 && vcounter< Y7+8 && hcounter>=X7+4 && hcounter< X7+8) || (vcounter>= Y7+8 && vcounter< Y7+20
    && hcounter>=X7+8 && hcounter<X7+20)||(vcounter>= Y7+12 && vcounter< Y7+16 && hcounter>=X7 && hcounter<X7+8) ||(vcounter>= Y7+12 && vcounter<Y7+16 && hcounter>=X7+20 && hcounter<X7+28) ||(vcounter>= Y7 && vcounter<Y7+8 && hcounter>=X7+12 && hcounter<X7+16) || (vcounter>= Y7+20 && vcounter<Y7+28 && hcounter>=X7+12 && hcounter<X7+16) || (vcounter>= Y7+20 && vcounter<Y7+24 && hcounter>=X7+4 && hcounter<X7+8) || (vcounter>= Y7 && vcounter<Y7+4 && hcounter>=X7+12 && hcounter<X7+28) || (vcounter>= Y7+4 && vcounter<Y7+8 && hcounter>=X7+20 && hcounter<X7+24) || (vcounter>= Y7+20 && vcounter<Y7+24 && hcounter>=X7+20 && hcounter<X7+24) || (vcounter>= Y7+24 && vcounter<Y7+28 && hcounter>=X7+12 && hcounter<X7+28) || (vcounter>= Y7+12 && vcounter<Y7+28 && hcounter>=X7 && hcounter<X7+4);
	end
	
	
	
	always@(enable8)	begin
	vgadisp8= ~blank &&
    (vcounter>= Y8 && vcounter<Y8+4 && hcounter>=X8 && hcounter< X8+4) || (vcounter>= Y8+4 && vcounter< Y8+8 && hcounter>=X8+4 && hcounter< X8+8) || (vcounter>= Y8+8 && vcounter< Y8+20
    && hcounter>=X8+8 && hcounter<X8+20)||(vcounter>= Y8+12 && vcounter< Y8+16 && hcounter>=X8 && hcounter<X8+8) ||(vcounter>= Y8+12 && vcounter<Y8+16 && hcounter>=X8+20 && hcounter<X8+28) ||(vcounter>= Y8 && vcounter<Y8+8 && hcounter>=X8+12 && hcounter<X8+16) || (vcounter>= Y8+20 && vcounter<Y8+28 && hcounter>=X8+12 && hcounter<X8+16) || (vcounter>= Y8+20 && vcounter<Y8+24 && hcounter>=X8+4 && hcounter<X8+8) || (vcounter>= Y8 && vcounter<Y8+4 && hcounter>=X8+12 && hcounter<X8+28) || (vcounter>= Y8+4 && vcounter<Y8+8 && hcounter>=X8+20 && hcounter<X8+24) || (vcounter>= Y8+20 && vcounter<Y8+24 && hcounter>=X8+20 && hcounter<X8+24) || (vcounter>= Y8+24 && vcounter<Y8+28 && hcounter>=X8+12 && hcounter<X8+28) || (vcounter>= Y8+12 && vcounter<Y8+28 && hcounter>=X8 && hcounter<X8+4);
	end
	
	
	always@(enable9)	begin
	vgadisp9= ~blank &&
    (vcounter>= Y9 && vcounter<Y9+4 && hcounter>=X9 && hcounter< X9+4) || (vcounter>= Y9+4 && vcounter< Y9+8 && hcounter>=X9+4 && hcounter< X9+8) || (vcounter>= Y9+8 && vcounter< Y9+20
    && hcounter>=X9+8 && hcounter<X9+20)||(vcounter>= Y9+12 && vcounter< Y9+16 && hcounter>=X9 && hcounter<X9+8) ||(vcounter>= Y9+12 && vcounter<Y9+16 && hcounter>=X9+20 && hcounter<X9+28) ||(vcounter>= Y9 && vcounter<Y9+8 && hcounter>=X9+12 && hcounter<X9+16) || (vcounter>= Y9+20 && vcounter<Y9+28 && hcounter>=X9+12 && hcounter<X9+16) || (vcounter>= Y9+20 && vcounter<Y9+24 && hcounter>=X9+4 && hcounter<X9+8) || (vcounter>= Y9 && vcounter<Y9+4 && hcounter>=X9+12 && hcounter<X9+28) || (vcounter>= Y9+4 && vcounter<Y9+8 && hcounter>=X9+20 && hcounter<X9+24) || (vcounter>= Y9+20 && vcounter<Y9+24 && hcounter>=X9+20 && hcounter<X9+24) || (vcounter>= Y9+24 && vcounter<Y9+28 && hcounter>=X9+12 && hcounter<X9+28) || (vcounter>= Y9+12 && vcounter<Y9+28 && hcounter>=X9 && hcounter<X9+4);
	end
	
	
	
	always@(enable10)	begin
	vgadisp10= ~blank &&
    (vcounter>= Y10 && vcounter<Y10+4 && hcounter>=X10 && hcounter< X10+4) || (vcounter>= Y10+4 && vcounter< Y10+8 && hcounter>=X10+4 && hcounter< X10+8) || (vcounter>= Y10+8 && vcounter< Y10+20
    && hcounter>=X10+8 && hcounter<X10+20)||(vcounter>= Y10+12 && vcounter< Y10+16 && hcounter>=X10 && hcounter<X10+8) ||(vcounter>= Y10+12 && vcounter<Y10+16 && hcounter>=X10+20 && hcounter<X10+28) ||(vcounter>= Y10 && vcounter<Y10+8 && hcounter>=X10+12 && hcounter<X10+16) || (vcounter>= Y10+20 && vcounter<Y10+28 && hcounter>=X10+12 && hcounter<X10+16) || (vcounter>= Y10+20 && vcounter<Y10+24 && hcounter>=X10+4 && hcounter<X10+8) || (vcounter>= Y10 && vcounter<Y10+4 && hcounter>=X10+12 && hcounter<X10+28) || (vcounter>= Y10+4 && vcounter<Y10+8 && hcounter>=X10+20 && hcounter<X10+24) || (vcounter>= Y10+20 && vcounter<Y10+24 && hcounter>=X10+20 && hcounter<X10+24) || (vcounter>= Y10+24 && vcounter<Y10+28 && hcounter>=X10+12 && hcounter<X10+28) || (vcounter>= Y10+12 && vcounter<Y10+28 && hcounter>=X10 && hcounter<X10+4);
	end
	
	
	always@(enable11)	begin
	vgadisp11= ~blank &&
    (vcounter>= Y11 && vcounter<Y11+4 && hcounter>=X11 && hcounter< X11+4) || (vcounter>= Y11+4 && vcounter< Y11+8 && hcounter>=X11+4 && hcounter< X11+8) || (vcounter>= Y11+8 && vcounter< Y11+20
    && hcounter>=X11+8 && hcounter<X11+20)||(vcounter>= Y11+12 && vcounter< Y11+16 && hcounter>=X11 && hcounter<X11+8) ||(vcounter>= Y11+12 && vcounter<Y11+16 && hcounter>=X11+20 && hcounter<X11+28) ||(vcounter>= Y11 && vcounter<Y11+8 && hcounter>=X11+12 && hcounter<X11+16) || (vcounter>= Y11+20 && vcounter<Y11+28 && hcounter>=X11+12 && hcounter<X11+16) || (vcounter>= Y11+20 && vcounter<Y11+24 && hcounter>=X11+4 && hcounter<X11+8) || (vcounter>= Y11 && vcounter<Y11+4 && hcounter>=X11+12 && hcounter<X11+28) || (vcounter>= Y11+4 && vcounter<Y11+8 && hcounter>=X11+20 && hcounter<X11+24) || (vcounter>= Y11+20 && vcounter<Y11+24 && hcounter>=X11+20 && hcounter<X11+24) || (vcounter>= Y11+24 && vcounter<Y11+28 && hcounter>=X11+12 && hcounter<X11+28) || (vcounter>= Y11+12 && vcounter<Y11+28 && hcounter>=X11 && hcounter<X11+4);
	end
	
	
		always@(enable12) begin
	vgadisp12= ~blank &&
	(vcounter>= 140 && vcounter<160 && hcounter>=110 && hcounter< 120) ||  	(vcounter>= 130 && vcounter<170 && hcounter>=120 && hcounter<130) || 	(vcounter>= 120 && vcounter<140 && hcounter>=130 && hcounter< 140)
	|| (vcounter>= 160 && vcounter<180 && hcounter>=130 && hcounter< 140) ||  	(vcounter>= 120 && vcounter<130 && hcounter>=130 && hcounter<170) || 	(vcounter>= 170 && vcounter<180 && hcounter>=130 && hcounter< 170)
   || (vcounter>= 140 && vcounter<180 && hcounter>=160 && hcounter< 170) ||  	(vcounter>= 140 && vcounter<150 && hcounter>=150 && hcounter<170) || 	(vcounter>= 140 && vcounter<180 && hcounter>=200 && hcounter< 210) || (vcounter>= 130 && vcounter< 180 && hcounter>=210 && hcounter< 220) || (vcounter>= 120 && vcounter< 130 
	&& hcounter>=220 && hcounter< 240) || (vcounter>= 130 && vcounter< 180 && hcounter>=240 && hcounter< 250)|| (vcounter>= 140 && vcounter< 180 
	&& hcounter>=250 && hcounter<260)||(vcounter>= 150 && vcounter<160 && hcounter>=220 && hcounter<240) || (vcounter>= 120 && vcounter<180 && hcounter>=290 && hcounter< 300) ||(vcounter>= 120 && vcounter<180 && hcounter>=340 && hcounter<350) || 	(vcounter>= 130 && vcounter<150 && hcounter>=300 && hcounter< 310)
	|| (vcounter>= 130 && vcounter<150 && hcounter>=330 && hcounter< 340) ||  	(vcounter>= 140 && vcounter<160 && hcounter>=310 && hcounter<330) || 	(vcounter>= 120 && vcounter<130 && hcounter>=380 && hcounter< 440) ||
	(vcounter>= 120 && vcounter<180 && hcounter>=380 && hcounter< 400) || (vcounter>= 140 && vcounter<150 && hcounter>=380 && hcounter< 440) || (vcounter>= 170 && vcounter<180 && hcounter>=380 && hcounter< 440)	
||  (vcounter>= 260 && vcounter<300 && hcounter>=110 && hcounter< 120) ||  	(vcounter>= 250 && vcounter<310 && hcounter>=120 && hcounter<130) || (vcounter>= 250 && vcounter<310 && hcounter>=150 && hcounter< 160)
||		(vcounter>= 250 && vcounter<260 && hcounter>=120 && hcounter< 160) ||  	(vcounter>= 300 && vcounter<310 && hcounter>=120 && hcounter<160) || 	(vcounter>= 260 && vcounter<300 && hcounter>=160 && hcounter< 170)
||   (vcounter>= 250 && vcounter< 290 && hcounter>=200 && hcounter< 220) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=210 && hcounter<250) || 	(vcounter>= 300 && vcounter<310 && hcounter>=220 && hcounter< 240)
|| (vcounter>= 250 && vcounter<290 && hcounter>=240 && hcounter< 260) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=290 && hcounter<350) || 	(vcounter>= 250 && vcounter<310 && hcounter>=290 && hcounter< 310)
|| (vcounter>= 270 && vcounter<280 && hcounter>= 310 && hcounter< 350) ||  	(vcounter>= 300 && vcounter<310 && hcounter>=310 && hcounter<350) || 	(vcounter>= 250 && vcounter<310 && hcounter>=380 && hcounter< 390)
|| (vcounter>= 250 && vcounter<260 && hcounter>=380 && hcounter< 420) ||  	(vcounter>= 280 && vcounter<290 && hcounter>=390 && hcounter<420) || 	(vcounter>= 270 && vcounter<280 && hcounter>=400 && hcounter< 410)
|| (vcounter>= 260 && vcounter<280 && hcounter>=410 && hcounter< 430) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=400 && hcounter<430) || 	(vcounter>= 300 && vcounter<310 && hcounter>=410 && hcounter< 440);
	 
	
end



	always@(enable13) begin
		vgadisp13= ~blank &&
	(vcounter>= 100 && vcounter<110 && hcounter>=125 && hcounter< 145) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=135 && hcounter<145) || 	(vcounter>= 140 && vcounter<150 && hcounter>=135 && hcounter< 165)
	|| (vcounter>= 100 && vcounter<110 && hcounter>=185 && hcounter< 225) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=195 && hcounter<205) || 	(vcounter>= 120 && vcounter<130 && hcounter>=195 && hcounter< 225)
   || (vcounter>= 140 && vcounter<150 && hcounter>=185 && hcounter< 225) ||  	(vcounter>= 100 && vcounter<110 && hcounter>=245 && hcounter<265) || 	(vcounter>= 100 && vcounter<110 && hcounter>=275 && hcounter< 295) || (vcounter>= 110 && vcounter< 140 && hcounter>=255 && hcounter< 265) || (vcounter>= 110 && vcounter< 140 
	&& hcounter>=275 && hcounter< 285) || (vcounter>= 140 && vcounter< 150 && hcounter>=265 && hcounter< 275)|| (vcounter>= 100 && vcounter< 110 
	&& hcounter>=315 && hcounter<355)||(vcounter>= 100 && vcounter<150 && hcounter>=325 && hcounter<335) || (vcounter>= 140 && vcounter<150 && hcounter>=315 && hcounter< 355) ||(vcounter>= 120 && vcounter<130 && hcounter>=325 && hcounter<355) || 	(vcounter>= 140 && vcounter<150 && hcounter>=135 && hcounter< 165)
	|| (vcounter>= 100 && vcounter<110 && hcounter>=375 && hcounter< 395) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=385 && hcounter<395) || 	(vcounter>= 140 && vcounter<150 && hcounter>=385 && hcounter< 415)	
||  (vcounter>= 100 && vcounter<110 && hcounter>=455 && hcounter< 475) ||  	(vcounter>= 110 && vcounter<120 && hcounter>=445 && hcounter<455) || (vcounter>= 100 && vcounter<150 && hcounter>=465 && hcounter< 475)
||		(vcounter>= 140 && vcounter<150 && hcounter>=445 && hcounter< 485) || 	(vcounter>= 260 && vcounter<290 && hcounter>=80 && hcounter<90) || 	(vcounter>= 250 && vcounter<260 && hcounter>=90 && hcounter< 120)
||   (vcounter>= 290 && vcounter< 300 && hcounter>=90 && hcounter< 120) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=150 && hcounter<170) || 	(vcounter>= 260 && vcounter<290 && hcounter>=140 && hcounter< 150)
|| (vcounter>= 260 && vcounter<290 && hcounter>=170 && hcounter< 180) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=150 && hcounter<170) || 	(vcounter>= 250 && vcounter<300 && hcounter>=200 && hcounter< 210)
|| (vcounter>= 250 && vcounter<300 && hcounter>= 240 && hcounter< 250) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=210 && hcounter<220) || 	(vcounter>= 250 && vcounter<260 && hcounter>=230 && hcounter< 240)
|| (vcounter>= 260 && vcounter<280 && hcounter>=220 && hcounter< 230) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=270 && hcounter<310) || 	(vcounter>= 250 && vcounter<300 && hcounter>=280 && hcounter< 290)
|| (vcounter>= 270 && vcounter<280 && hcounter>=280 && hcounter< 310) ||  	(vcounter>= 250 && vcounter<280 && hcounter>=300 && hcounter<310) || 	(vcounter>= 250 && vcounter<260 && hcounter>=330 && hcounter< 350)
|| (vcounter>= 250 && vcounter<300 && hcounter>=340 && hcounter< 350) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=340 && hcounter<370) || 	(vcounter>= 250 && vcounter<260 && hcounter>=390 && hcounter< 430)
|| (vcounter>= 250 && vcounter<300 && hcounter>=400 && hcounter< 410) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=390 && hcounter<430) || 	(vcounter>= 270 && vcounter<280 && hcounter>=400 && hcounter< 430)
|| (vcounter>= 250 && vcounter<300 && hcounter>=470 && hcounter< 480 ) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=450 && hcounter<500) || 	(vcounter>= 250 && vcounter<260 && hcounter>=520 && hcounter< 560)
||(vcounter>= 250 && vcounter<300 && hcounter>=530 && hcounter< 540) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=520 && hcounter<560) || 	(vcounter>= 270 && vcounter<280 && hcounter>=530 && hcounter< 560);
		 
	
	end
	
	
	
	
	always@(enable14) begin
vgadisp14= ~blank &&
	(vcounter>= 100 && vcounter<110 && hcounter>=125 && hcounter< 145) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=135 && hcounter<145) || 	(vcounter>= 140 && vcounter<150 && hcounter>=135 && hcounter< 165)
	|| (vcounter>= 100 && vcounter<110 && hcounter>=185 && hcounter< 225) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=195 && hcounter<205) || 	(vcounter>= 120 && vcounter<130 && hcounter>=195 && hcounter< 225)
   || (vcounter>= 140 && vcounter<150 && hcounter>=185 && hcounter< 225) ||  	(vcounter>= 100 && vcounter<110 && hcounter>=245 && hcounter<265) || 	(vcounter>= 100 && vcounter<110 && hcounter>=275 && hcounter< 295) || (vcounter>= 110 && vcounter< 140 && hcounter>=255 && hcounter< 265) || (vcounter>= 110 && vcounter< 140 
	&& hcounter>=275 && hcounter< 285) || (vcounter>= 140 && vcounter< 150 && hcounter>=265 && hcounter< 275)|| (vcounter>= 100 && vcounter< 110 
	&& hcounter>=315 && hcounter<355)||(vcounter>= 100 && vcounter<150 && hcounter>=325 && hcounter<335) || (vcounter>= 140 && vcounter<150 && hcounter>=315 && hcounter< 355) ||(vcounter>= 120 && vcounter<130 && hcounter>=325 && hcounter<355) || 	(vcounter>= 140 && vcounter<150 && hcounter>=135 && hcounter< 165)
	|| (vcounter>= 100 && vcounter<110 && hcounter>=375 && hcounter< 395) ||  	(vcounter>= 100 && vcounter<150 && hcounter>=385 && hcounter<395) || 	(vcounter>= 140 && vcounter<150 && hcounter>=385 && hcounter< 415)
||  (vcounter>= 100 && vcounter<110 && hcounter>=445 && hcounter< 485) ||  	(vcounter>= 110 && vcounter<120 && hcounter>=475 && hcounter<485) || (vcounter>= 120 && vcounter<130 && hcounter>=445 && hcounter< 485)
||		(vcounter>= 130 && vcounter<140 && hcounter>=445 && hcounter< 455) || (vcounter>= 140 && vcounter<150 && hcounter>=445 && hcounter< 485) || 	(vcounter>= 260 && vcounter<290 && hcounter>=80 && hcounter<90) || 	(vcounter>= 250 && vcounter<260 && hcounter>=90 && hcounter< 120)
||   (vcounter>= 290 && vcounter< 300 && hcounter>=90 && hcounter< 120) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=150 && hcounter<170) || 	(vcounter>= 260 && vcounter<290 && hcounter>=140 && hcounter< 150)
|| (vcounter>= 260 && vcounter<290 && hcounter>=170 && hcounter< 180) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=150 && hcounter<170) || 	(vcounter>= 250 && vcounter<300 && hcounter>=200 && hcounter< 210)
|| (vcounter>= 250 && vcounter<300 && hcounter>= 240 && hcounter< 250) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=210 && hcounter<220) || 	(vcounter>= 250 && vcounter<260 && hcounter>=230 && hcounter< 240)
|| (vcounter>= 260 && vcounter<280 && hcounter>=220 && hcounter< 230) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=270 && hcounter<310) || 	(vcounter>= 250 && vcounter<300 && hcounter>=280 && hcounter< 290)
|| (vcounter>= 270 && vcounter<280 && hcounter>=280 && hcounter< 310) ||  	(vcounter>= 250 && vcounter<280 && hcounter>=300 && hcounter<310) || 	(vcounter>= 250 && vcounter<260 && hcounter>=330 && hcounter< 350)
|| (vcounter>= 250 && vcounter<300 && hcounter>=340 && hcounter< 350) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=340 && hcounter<370) || 	(vcounter>= 250 && vcounter<260 && hcounter>=390 && hcounter< 430)
|| (vcounter>= 250 && vcounter<300 && hcounter>=400 && hcounter< 410) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=390 && hcounter<430) || 	(vcounter>= 270 && vcounter<280 && hcounter>=400 && hcounter< 430)
|| (vcounter>= 250 && vcounter<300 && hcounter>=470 && hcounter< 480 ) ||  	(vcounter>= 250 && vcounter<260 && hcounter>=450 && hcounter<500) || 	(vcounter>= 250 && vcounter<260 && hcounter>=520 && hcounter< 560)
||(vcounter>= 250 && vcounter<300 && hcounter>=530 && hcounter< 540) ||  	(vcounter>= 290 && vcounter<300 && hcounter>=520 && hcounter<560) || 	(vcounter>= 270 && vcounter<280 && hcounter>=530 && hcounter< 560);
		 

end

	
	always@(enable15) begin
	vgadisp15= ~blank &&
	(vcounter>= Y12+5 && vcounter<Y12+10 && hcounter>=X12 && hcounter< X12+15) || (vcounter>= Y12 && vcounter<Y12+15 && hcounter>=X12+10 && hcounter< X12+15) || (vcounter>= Y12 && vcounter< Y12+5 
	&& hcounter>=X12+15 && hcounter<X12+20)||(vcounter>= Y12+10 && vcounter<Y12+15 && hcounter>=X12+15 && hcounter<X12+20);
	end
	endmodule
	